package cn.dmrliu.edu.publish.util;

import java.time.format.DateTimeFormatter;

public class DateUtil {
    public static Integer now(){
        DateTimeFormatter dfs = DateTimeFormatter.ofPattern("yyyyMMdd");
        return Integer.parseInt(dfs.format(java.time.LocalDate.now()));
    }
}
